<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/login.css" type="text/css">

    <script>
    function displayResult(){
	    var x=document.getElementById("submit1").value;
	    alert("登录成功");
}
    </script>
</head>
<body>
    <form action="./html/register.html" method="post" enctype="multipart/form-data">
        <form>
            <div class="user">
            <input type="text" name="name" placeholder="用户名" />
            <input type="password" name="password" placeholder="密码" />
            </div>
            <div class="footer">
                <input type="submit" id="submit1" value="登录"  onclick="displayResult()" >
                <input type="submit" value="注册">
            </div>
        </form>
    </form>
</body>
</html>